home *** CD-ROM | disk | FTP | other *** search
/ Internet Info 1997 December / Internet_Info_CD-ROM_Walnut_Creek_December_1997.iso / ietf / urn / urn-archives / urn-ietf.archive.9610 / 000008_owner-urn-ietf _Tue Oct 8 03:59:51 1996.msg < prev    next >
Internet Message Format  |  1997-02-19  |  8KB

  1. Received: (from daemon@localhost) by services.bunyip.com (8.6.10/8.6.9) id DAA29158 for urn-ietf-out; Tue, 8 Oct 1996 03:59:51 -0400
  2. Received: from mocha.bunyip.com (mocha.Bunyip.Com [192.197.208.1]) by services.bunyip.com (8.6.10/8.6.9) with SMTP id DAA29153 for <urn-ietf@services.bunyip.com>; Tue, 8 Oct 1996 03:59:43 -0400
  3. Received: from alpha.Xerox.COM by mocha.bunyip.com with SMTP (5.65a/IDA-1.4.2b/CC-Guru-2b)
  4.         id AA12430  (mail destined for urn-ietf@services.bunyip.com); Tue, 8 Oct 96 03:59:41 -0400
  5. Received: from golden.parc.xerox.com ([13.1.100.139]) by alpha.xerox.com with SMTP id <16670(5)>; Tue, 8 Oct 1996 00:59:39 PDT
  6. Received: by golden.parc.xerox.com id <2768>; Tue, 8 Oct 1996 00:59:24 PDT
  7. To: paf@swip.net
  8. Cc: rdaniel@acl.lanl.gov, urn-ietf@bunyip.com
  9. In-Reply-To: <Pine.BSI.3.91.961008060732.23176K-100000@nic.cafax.se> (message
  10.     from Patrik Faltstrom on Mon, 7 Oct 1996 21:30:40 PDT)
  11. Subject: Re: [URN] advantages of NAPTR over PURLs
  12. From: Larry Masinter <masinter@parc.xerox.com>
  13. Message-Id: <96Oct8.005924pdt."2768"@golden.parc.xerox.com>
  14. Date: Tue, 8 Oct 1996 00:59:24 PDT
  15. Sender: owner-urn-ietf@services.bunyip.com
  16. Precedence: bulk
  17. Reply-To: Larry Masinter <masinter@parc.xerox.com>
  18. Errors-To: owner-urn-ietf@bunyip.com
  19.  
  20. This sounds a bit more like a diatribe than I'd like.... I started out
  21. trying to get some explicit description of the advantages of NAPTR
  22. over what seems like a far simpler method (PURLs).
  23.  
  24. > The A record does not have a priority. MX-records do have that,
  25. > A records does not. You can not change the spec of A-records.
  26.  
  27. Tell me again why replicated services need to have 'a priority'.
  28. What requirements does it help satisfy?
  29.  
  30. > This is just how things are implemented, especially when one
  31. > start using things that is not really DNS (NIS for example).
  32. > To be able to get around this problem -- we need a new resource
  33. > record type.
  34.  
  35. Are you saying that you'd expect NIS to work with NAPTR but not to
  36. work with long A records? I vaguely remember a patch several years ago
  37. to the Sun NIS implementation to fix the problem with a server
  38. (merit.edu?) that had more A records than before. I think that to get
  39. around a bug in implementations of DNS, you need to fix the bug.
  40.  
  41. >> I don't understand why www.purl.org must have a shorter lifetime than
  42. >> any NAPTR name. You just vow to not reassign the name. If you can't do
  43. >> that with ".org", then pick a new top level domain.
  44.  
  45. > Because the NAPTR record is the second abstraction level you really
  46. > need to be able to handle renaming of resources on the net.
  47.  
  48. I've stared at this, but it seems like you're saying that "you need it
  49. because you really need it". Why do you need a second abstraction
  50. level to be able to handle renaming of resources on the net? PURLs
  51. handle renaming of resources by letting you go to the PURL server and
  52. tell the PURL server where the resource is now.
  53.     PURL -> URL -> resource
  54. If the resource gets renamed, you change the PURL -> URL mapping. No
  55. second level abstraction needed.
  56.  
  57. > You also can handle other protocols than HTTP which makes the NAPTR
  58. > proposal (NAPTR records together with SRV records) much more long
  59. > lived.
  60.  
  61. The NAPTR proposal has a single protocol for finding an appropriate
  62. resolution service. The NAPTR protocol suggests that looking up
  63.     urn:duns:002372413:annual-report-1997
  64.  
  65. means a DNS NAPTR lookup on duns.urn.net, examining the syntax for
  66. tokens N2L/N2C/N2R, followed by another DNS lookup for the SRV record.
  67.  
  68. This protocol uses DNS, but it is still a protocol. It has a syntax,
  69. the syntax must be parsed, the syntax has no version information, the
  70. syntax is not in itself widely implemented, might need to be changed,
  71. etc.
  72.  
  73. The PURL system also has a single protocol for finding an appropriate
  74. resolution service. That protocol consists of doing a DNS A record
  75. lookup on duns.resolver.purl.org, then picking one of the IP addresses
  76. you get, and doing a HTTP request.
  77.  
  78. While HTTP might not be 'long-lived', are you claiming that this
  79. design of NAPTR is longer-lived, or should be? How long? On what
  80. grounds to you evaluate longevity of protocols? There is "N2L", "N2C"
  81. and "N2R", will there not be another kind of category of "N2X" for 20
  82. years?
  83.  
  84. >> The DNS entries for resolver.purl.org already give you all the
  85. >> indirection you need. Why add more?
  86.  
  87. > No, it does not give the information about priority and
  88. > protocol that is needed. We should not at all of the meetings
  89. > we had last year still be talking about NAPTR records which
  90. > forces everyone to change their resolvers if it was not needed.
  91.  
  92. On 'priority', you haven't actually said why you need priority. In
  93. this paragraph you assert that you had a meeting where everyone agreed
  94. that priority was needed, but it's not apparent why URN resolution
  95. needs priority. That you talked about NAPTR records and decided you
  96. needed priority then still doesn't explain WHY you thought you needed
  97. it. I'm just asking you to write down what the advantage actually is.
  98. I understand and I'm willing to trust that there advantages, but you
  99. should say.
  100.  
  101. To reiterate a bit on the 'protocol' issue: it's always possible to
  102. delegate to some other protocol in a 303 Location: response; at least,
  103. though, if you force people to register "dunslink" and "rcds" as new
  104. URL schemes, we'll have a mechanism for dealing with those tokens in a
  105. standards-track way. As you've specified it, there's no change-control
  106. on what those tokens might mean: if there are two versions of
  107. rcds, should NAPTR records upgrade all their records when the resolver
  108. upgrades from rcds1 to rcds2? If there's a version skew between the
  109. client rcds and the server rcds such that the server rcds can't
  110. respond to the client's ancient rcds implementation, should the
  111. rejection influence the handling of priorities?
  112.  
  113. > The PURL methods do work for locating HTTP servers, IF you
  114. > name your resources exactly the way you point it out Larry,
  115. > i.e. that you do have a special namespace allocated for the
  116. > PURL names which does not have anything in common with the
  117. > hostname namespace.
  118.  
  119. a) Are you claiming that PURL is limited to "locating HTTP servers"?
  120. The PURL method could work for locating any resource that can be
  121. located by a URL. The PURL method happens to use HTTP to do the
  122. location. However, if you have a report stored in a z39.50 server with
  123. URL
  124.  
  125.      z3950r://isite.bogus.com/0123@ab125212312xx0A
  126. and you refer to it with 
  127.      urn:duns:002372413:annual-report-1997
  128.  
  129. you can still use PURLs to do it, by looking up
  130.     http://duns.resolver.purl.org/002372413:annual-report-1997
  131.  
  132. and getting back a 
  133.     303
  134.     Location: z3950r://isite.bogus.com/0123@ab125212312xx0A
  135.  
  136. b) "IF you name your resources exactly the way you point it out"
  137.  
  138. This is the rub: PURLs don't have regular expression matching.
  139. And the DNS caching allows caching of patterns.
  140.  
  141. > When coming to this conclusion, we did also think about the
  142. > need for different resolution protocols (to handle the case
  143. > when someone is running a resolution service for a publisher,
  144. > and who is responsible for what in the resolution process)
  145.  
  146. The purl system is potentially recursive. You could redirect from one
  147. URL to another. So it allows multiple roles or a single one. NAPTR
  148. however seems to have only two roles: you either own the DNS entry and
  149. manipulate that, or else you own the resolver. That's an advantage, I
  150. suppose, but it seems less flexible.
  151.  
  152. There's a performance issue, in that DNS records cache better,
  153. although TTL seems as risky as max-age in HTTP.
  154.  
  155. Maybe one way to improve PURLs would be to have the 'redirect' message
  156. in HTTP allow pattern-redirects.
  157.  
  158. Regards,
  159.  
  160. Larry
  161.  
  162.  
  163.  
  164.  
  165.  
  166.